package com.hnas.trade.service;

import java.util.List;

import com.hnas.common.service.dto.search.DTOOrderSearch;
import com.hnas.core.dto.DTOPagedList;
import com.hnas.trade.orm.OrderDetail;
import com.hnas.trade.service.dto.DTOOrderDetail;

public interface OrderDetailService {
	OrderDetail saveOrUpdate(DTOOrderDetail dto) throws Exception;

	List<OrderDetail> findByOrderNo(String orderNo);

	OrderDetail findByOrderNoAndItemId(String orderNo, String itemId);

	DTOPagedList<DTOOrderDetail> search(DTOOrderSearch criteria);
}
